package com.unswift.window.listener;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import com.unswift.window.editor.Editor;

public class EditorMouseListener extends MouseAdapter{

	private Editor editor;

	public EditorMouseListener(Editor editor) {
		this.editor=editor;
	}
	
	@Override
	public void mouseEntered(MouseEvent e) {
		editor.requestFocus(true);
	}
	
}
